<?xml version="1.0"?>
<!-- (C) 1998-2005 Watchfire Corporation   http://www.watchfire.com   -->
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:param name="showAsp.Net"/>
<xsl:param name="showJ2ee"/>
<xsl:param name="watermarkImagePath"/>
<xsl:param name="css"/>
<xsl:param name="fixRecommendationTitle"/>
<xsl:param name="generalTitle"/>
<xsl:param name="aspTitle"/>
<xsl:param name="j2eeTitle"/>
<xsl:param name="copyright"/>

<xsl:template match="/">
<HTML>

<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8" />
<TITLE>AppScan</TITLE>
<STYLE TYPE="text/css">
	<xsl:value-of select="$css"/> 
</STYLE>
</HEAD>

<BODY BGCOLOR="White" TOPMARGIN="0" LEFTMARGIN="0" MARGINWIDTH="0"
   MARGINHEIGHT="0" TEXT="#000000" background="{$watermarkImagePath}">
   <TABLE WIDTH="100%" CELLPADDING="3" CELLSPACING="0" BORDER="0" >
   	<TR>
          <TD>
	     	<H2><xsl:value-of select="$fixRecommendationTitle"/></H2>
             	<BR/>
             	<H3><xsl:value-of select="$generalTitle"/></H3>
             	<h4><xsl:apply-templates select="/advisory/fixRecommendations/fixRecommendation[@type='General']"/></h4>
             	<BR/>
            	<BR/>
               	<xsl:if test="/advisory/fixRecommendations/fixRecommendation[@type='ASP.NET']">
              		<xsl:if test="$showAsp.Net">
              			<H3><xsl:value-of select="$aspTitle"/></H3>
             			<h4><xsl:apply-templates select="/advisory/fixRecommendations/fixRecommendation[@type='ASP.NET']"/></h4>
             			<BR/>
             			<BR/> 
             		</xsl:if>
                </xsl:if>
                
                <xsl:if test="/advisory/fixRecommendations/fixRecommendation[@type='J2EE']">
	       		<xsl:if test="$showJ2ee">
              			<H3><xsl:value-of select="$j2eeTitle"/></H3>
             			<h4><xsl:apply-templates select="/advisory/fixRecommendations/fixRecommendation[@type='J2EE']"/></h4>
             			<BR/>
             			<BR/>  
             		</xsl:if>
                </xsl:if>
 	  </TD>    
 	</TR>
      <TR>
         <TD>
         <br/>
           <P> <FONT COLOR="#AAAAAA"><xsl:value-of select="$copyright"/>
            <A TARGET="_new" HREF="http://www.watchfire.com"><FONT COLOR="#AAAAAA">
                  www.watchfire.com</FONT></A></FONT></P>
         <br/>
         </TD>
      </TR>
   </TABLE>
</BODY>
</HTML>
</xsl:template>         

<xsl:template match="br"> 
  <br/>
</xsl:template>

<xsl:template match="link">
   <A TARGET="_new" HREF="{@target}"><xsl:value-of select="."/></A>
</xsl:template>

<xsl:template match="code"> 
  <PRE><xsl:value-of select="." /></PRE>
</xsl:template>

<xsl:template match="indentText"> 
  <P class="indent"><xsl:value-of select="." /></P>
</xsl:template>


</xsl:stylesheet>
